using UnityEngine;
using System.Collections;

public class Bullet : MonoBehaviour {

	void Update () 
	{
		transform.Translate(Vector3.forward * 7 * Time.deltaTime);
	}
	
	void OnCollisionEnter(Collision other)
	{
		if(other.gameObject.tag == "Limit")
		{
			Destroy(this.gameObject);
		}
	}
}
